#ifndef __FILTER_H
#define __FILTER_H

#include "sys.h"
#include "mymath.h"
#include "math.h"
#include "mpu-6050.h"

typedef struct
{
	float lpf_1;

	float out;
}_lf_t;

void limit_filter(float T,float hz,_lf_t *data,float in);

void LPF_1(float hz,float time,float in,float *out);

#endif
